import request from '@/utils/request'

// 获取静态统计数据
export function getStatisticsInfo() {
  return request({
    url: '/system/statistics/getStatisticsInfo',
    method: 'get',
  })
}

// 获取动态统计数据
export function getStatisticsByDate(pamars) {
  return request({
    url: `/system/statistics/getStatisticsByDate?startDate=${pamars.startDay}&endDate=${pamars.endDay}`,
    method: 'get'
  })
}